package com.usian.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.usian.model.user.pojos.ApUserFollow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ApUserFollowMapper extends BaseMapper<ApUserFollow> {
    public List<ApUserFollow>findByUserAndFollow(@Param("userId")Integer userId,
                                                 @Param("followId")Integer followId);

    public void deleteByUserIdAndFollowId (@Param("userId")Integer userId,
                                           @Param("followId")Integer followId);
}
